<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="__STATIC__/layuimini/lib/layui-v2.6.3/css/layui.css" media="all">
    <title>Title</title>
</head>
<style>
    .main{
        height: calc( 100vh );
        display: flex;
        float: left;
    }
    .ulleft{
        height: 100%;
    }
    .logOff{
        position: fixed;
        bottom: -386px;
    }
</style>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<script src="__STATIC__/layuimini/lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<script src="__STATIC__/layuimini/lib/jquery-3.4.1/jquery-3.4.1.min.js" charset="utf-8"></script>
<body>
<div class="main"  style="width: auto;">
    <ul  id="test" class="ulleft  layui-nav layui-nav-tree" lay-filter="test">
        <!-- 侧边导航: <ul class="layui-nav layui-nav-tree layui-nav-side"> -->
        <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/stu_home">毕业设计管理系统</a></li>
        <li class="layui-nav-item"><a href="">用户：{$Think.session.stu_name}</a></li>
        <li class="layui-nav-item"><a href=""></a></li>
        <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/stu_submit_title" >提交课题</a></li>
        <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/stu_modify_title">修改课题</a></li>
        <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/stu_show_title">我的课题</a></li>
        <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/student_start_words">发起留言</a></li>
        <li class="logOff layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/login/loginOut">注销</a></li>
    </ul>
</div>
<script src="__STATIC__/layuimini/lib/jquery-3.4.1/jquery-3.4.1.min.js" charset="utf-8"></script>
<script src="__STATIC__/layuimini/lib/layui-v2.5.5/layui.js" charset="utf-8"></script>
<script src="__STATIC__/layuimini/lib/jq-module/jquery.particleground.min.js" charset="utf-8"></script>
<script>
    $(function(){
        $("#test a").click(function() {

            $(this).css("background","#ACCD3C")

            // 添加当前元素的样式
        });
    });
</script>
</body>
</html>